/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.dusin.teachassistdbservice.dao;


import java.util.List;
import java.util.Map;

/**
 *
 * @author tengyu
 */
public interface TeachClassDao {    
    
    long doCreate(Object[] bean);
    boolean doDeleteByNo(String no,String semester);
    boolean doDeleteById(int id);
    boolean doUpdate(Object[] bean);
    
    List<Map<String,Object>> findAllClass(String teacherNo,String semester);
    public Map<String, Object> findByNo(String no,String semester);
    List<Map<String,Object>> findAll();
    List<Map<String,Object>> findAll(int start,int size);    
    /**
     * 查找学生的所有选课
     * @param studentNo  学号
     * @param semester   学期
     * @return 
     */
    public List<Map<String, Object>> findAllClass4Student(String studentNo,String semester);
}
